/**
 * 
 */
package com.orange.modules.entity.expert;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 试题与专家关系表
 * 
 * @author gaogs
 *
 * 2016-12-1
 */
@Table(name="t_auth_exam_expert_map")
@Entity
public class AuthExamExpertMap {
	
	private String pid ;//
	private String expertId ;//专家id
	private String examId ;//试题id
	private String groupId ;//组id
	private String createTime ;//
	
	private String examName;//试题名称
	private String fileUrl;//试题下载路径
	
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name = "p_id")
	public String getPid() {
		return pid;
	}
	@Column(name = "s_expert_id",length=50)
	public String getExpertId() {
		return expertId;
	}
	@Column(name = "s_exam_id",length=50)
	public String getExamId() {
		return examId;
	}
	@Column(name = "s_group_id",length=50)
	public String getGroupId() {
		return groupId;
	}
	@Column(name = "s_create_time",length=20)
	public String getCreateTime() {
		return createTime;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public void setExpertId(String expertId) {
		this.expertId = expertId;
	}
	public void setExamId(String examId) {
		this.examId = examId;
	}
	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	@Transient
	public String getExamName() {
		return examName;
	}
	@Transient
	public String getFileUrl() {
		return fileUrl;
	}
	public void setExamName(String examName) {
		this.examName = examName;
	}
	public void setFileUrl(String fileUrl) {
		this.fileUrl = fileUrl;
	}

	
}
